import { createApp } from "vue";
import ElementPlus from "element-plus";
import "element-plus/dist/index.css";
import * as ElementPlusIconsVue from "@element-plus/icons-vue";
import App from "./App.vue";
import "./style.css";
import router from "./routers";
import "@/assets/tb.css";
import "animate.css";
import "nprogress/nprogress.css"; // 导入样式文件
const app = createApp(App);

app.use(router).use(ElementPlus).mount("#app");
// 注册图标
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component as any);
}
